import axios from 'axios';
import {  req } from './axiosFun';

/**
 * 后勤零件管理
 **/
// 后勤订单管理-获取用户列表
export const partList = (params) => { return req("post", "/api/part/list/page", params) };

// 后勤订单管理-保存
export const partSave = (params) => { return req("post", "/api/part/save", params) };
// 后勤订单管理-编辑
export const partEdit = (params) => { return req("post", "/api/part/edit", params) };

// 后勤订单管理-删除用户
export const partDelete = (params) => { return axios.delete("/api/part/del/" + params).then(res => res.data) };

// 后勤订单管理-批量删除
export const partBatchDel = (params) => { return req("post", "/api/part/del/batch", params) };

